//
//  UIGLESSettingViewController.h
//  DrawColorPolygon
//
//  Created by 畑圭輔 on 10/03/07.
//  Copyright 2010 Keisuke Hata. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EAGLView.h"
#import "ControlView.h"

// 三角形の描画
enum  {
	kEAGL_POLY_TRIANGLES = 0,
	kEAGL_POLY_STRIP,
	kEAGL_POLY_FAN
};

// 線の描画
enum  {
	kEAGL_LINE_LINES = 0,
	kEAGL_LINE_LOOP,
	kEAGL_LINE_STRIP
};

@interface UIGLESSettingViewController : UIViewController {
	
	IBOutlet UISegmentedControl *_polyStyle;
	IBOutlet UISegmentedControl *_lineStyle;
	IBOutlet UISlider *_lineWidth;
	
	BOOL _isOpened;

	EAGLView *glView;
}

- (IBAction) selectedPolyStyle;
- (IBAction) selectedLineStyle;

- (IBAction) changedLineWidth;

- (IBAction) show;

@property (nonatomic,assign) id glView;

@end
